<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>原料仓库管理系统</title>
</head>
<?php 
$host="127.0.0.1";
$username="root";
$password="";
$dbName="cangku_DB";
$connID=mysqli_connect($host,$username,$password);
mysqli_query($connID,"set names utf8");
$WBK_text=$_POST["WBK_text"].";";
//echo $WBK_text;
if($WBK_text){
	if(mysqli_select_db($connID,$dbName)){
		$result1=mysqli_query($connID,$WBK_text);
		
		
		/**/echo"<script type='text/javascript'>alert('操作成功，点击确定返回！');location='CKGL_ck.php';
				</script>";		}
	else{ 
		
		echo "<script type='text/javascript'>alert('数据库连接失败！');</script>";}
}
else{echo"<script type='text/javascript'>alert('数据输入不完整，请重新输入！');location='CKGL_rk.php';
				</script>";}


?>
<body>
</body>
</html>